﻿using DAL;
using MODEL;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace BLL
{
   public class GoodBLL
    {
        GoodDAL good = new GoodDAL();

        /// <summary>
        /// 查询
        /// </summary>
        /// <param name="id"></param>
        /// <returns></returns>
        public List<GoodsModel> SelectGoods(int id)
        {
            return good.SelectGoods(id);
        }

        //添加
        public int InsertGoods(GoodsModel inse)
        {
            return good.InsertGoods(inse);
        }
    }
}
